package com.brillilab.service.core.global;

import java.util.List;

import com.brillilab.common.entity.PageVo;
import com.brillilab.domain.po.global.GlobalKit;
import com.brillilab.domain.vo.global.GlobalKitInfoVo;

/**
 * GlobalKit Service
 * @author lj
 *
 */
public interface IGlobalKitService {

	GlobalKit selectById(Long id);

	
	/**
	 * 搜索试剂列表
	 * @return
	 */
	List<GlobalKit> selectList(Integer classify,String itemNo);

	/**
	 * 获取Globalkit完整信息
	 * @param kitId
	 * @return
	 */
	GlobalKitInfoVo getGlobalKitInfo(Long kitId);
	PageVo<GlobalKit> selectKitList(Boolean hasAttach, Boolean hasRelateMethod, Long companyId, String reagentNamePrefix,Long reagentTypeId,Boolean canConvert,int pageNum,int pageSize);

	Integer getKitRelateMethodStatistics();

	List<GlobalKit> searchCompanyByReagentType(Long reagentTypeId);


	List<Long> selectReagentTypeIdList();

	boolean updateById(GlobalKit globalKit);

	boolean batchRelateMethod(List<Long>globalKitId,Long publicMethodId);

    GlobalKit selectByRelateMethodId(Long methodId);

    List<GlobalKit> selectTopNoMethodKit();

	int updateRelateInfo(List<GlobalKit> kits);
}
